#include <hid.h>

#include "hidjoystickrptparser.h"

USB Usb;
JoystickEvents JoyEvents;
JoystickReportParser Joy(&JoyEvents);

uint16_t controller_input;

uint16_t checkForInput() {
	Usb.Task();
	controller_input = Joy.oldButtons;
	return controller_input;
}

